﻿<div id="footer" class="bigBox">
  <div class="box">

    @{
        int flag = 1;
        foreach (HelpInfo info in WorkContext.HelpList)
        {
            if (info.Pid != 0)
            {
                if (info.Url.Length == 0)
                {
            <a href="@Url.Action("question", "help", new RouteValueDictionary { { "id", info.Id } })">@info.Title</a>
                }
                else
                {
            <a href="@info.Url">@info.Title</a>
                }
            }
            else
            {
                if (flag != 1)
                {
                @:</div>
            }
            @:<div class="footerBox"><h3>@info.Title</h3>
            flag++;
            }
        }
        if (WorkContext.HelpList.Count > 0)
        {
        @:</div>
    }
    }

  <div class="clear"></div>
  </div>
  <div class="bigBox footerB">
    <div id="footerB">
      <div class="links">
          @{ for (int i = 0; i < WorkContext.FriendLinkList.Length; i++)
              {
                  var info = WorkContext.FriendLinkList[i];
                  if (i == WorkContext.FriendLinkList.Length - 1)
                  {
                    <a href="@info.Url" target="@info.Target" title="@info.Title">@info.Name</a> 
                  }
                  else
                  {
                    <a href="@info.Url" target="@info.Target" title="@info.Title">@info.Name</a> @:|
                  }

              }
           }
      
      </div>
      <div>耀莱网络技术支持 程序版本 @WorkContext.ShopVersion 版权所有 @WorkContext.ShopCopyright &nbsp;</div>
    </div>
  </div>
</div>
@Html.Raw(WorkContext.ExecuteDetail)
@Html.Raw(WorkContext.ShopConfig.Script)